import './index.css' 

export default function(text){
    const Toast=document.createElement('div')
    Toast.className="Toast"
    Toast.innerHTML=text
    document.body.appendChild(Toast)
    setTimeout(() => {
        Toast.remove()
    }, 1000);
}